package com.dreamthen.entity;

/**
 * @Author zengms
 * @Date 2023-10-17 21:03:52
 **/
public class User {

    private String id;
    private String name;

    private Person person;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                '}';
    }


   public static User createUser(){
       System.out.println("加载User");
        User user = new User();
        user.setName("张三");
        return user;
   }

}
